Subroutine to train the SOM
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(inout) | :: | parameter_file |
A character variable with the name of the parameter file |
subroutine train_som(parameter_file) !============================================================================== !! Subroutine to train the SOM character(len=*),intent(inout) :: parameter_file !! A character variable with the name of the parameter file call initialize_variables(parameter_file); ! call my_som%create(som_parameters); ! call my_som%train(input_patterns); ! call my_som%destroy(); ! call release_variables(); ! end subroutine train_som